package service;

public interface WarehouseProductService {
	//根据产品id和型号id查找当前产品的库存id
	Integer queryWarehouseProductIdByProductIdAndModelId(Integer productId,Integer modelId);
	//根据id判断当前的库存是否满足客户的需求
	boolean productIsEnoughByIdAndNeed(Integer wp_id,Integer need);
	//根据id增加或减少当前的库存
	boolean updateWarehouse_ProductByIdAndNeed(Integer wp_id,Integer need);
}
